#version 330 core
layout(location = 0) in vec3 aPos;
layout(location = 1) in vec2 aTexCoord;
layout(location = 2) in vec3 averColor;
out vec2 TexCoord;
out vec3 VerColor;
uniform mat4 modelMat;
uniform mat4 viewMat;
uniform mat4 projectMat;
void main()
{
    gl_Position = projectMat* viewMat * modelMat * vec4(aPos, 1.0f);
    TexCoord = vec2(aTexCoord.x, aTexCoord.y);
    VerColor = averColor;
}
